<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="/static/home/css/cart1.css"/>
		<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css" rel="stylesheet" />
	</head>
	<body>
		
        <!--头部-->
        
        
        
        <section class="one">
        	
            	<div class="one-part-cart">
            		
            		<div class="cart-text">
            			购物车
            			
            		<hr class="sidebar-divider">
            		</div>
            		<div class="bus">
            			商品
            		</div>
            		<div class="qua">
            			数量
            		</div>
            		
            		<div class="price1">
            			价格
            		</div>
            		
            		<div class="cart">
						
            			<ul>
							{foreach $goods as $v}
            				<li class="cart-c">
            					<div class="cart-content">
										<!-- /static/home/img/2a36af73530dbbff(3).jpg -->

            						<img src="{$v.goods_logo}"style="width: 150px;"/>
            						
            					</div>
            					<div class="cart-con">
            							<span id="">{$v.goods_name}</span><br>
            							
            							<span id="">销售和发货商： Secondhand</span><br>
            							<span id="">享免费配送</span><br>
            							<a href="{:url('home/cart/delect',['id'=>$v.id])}" >删除</a>
            							<a href="#">移入收藏夹</a>
            						</div>
            						<span style="color: darkred;" class="account">
        				￥{$v.goods_price*$v.number}
        			</span>
        			<div class="control-group">
            						<div class="controls">
										<input id="number" autocomplete="off" type="text" value="{$v.number}" minnum="1" class="count" />
										<a href="javascript:void(0)" id="plus" class="plus">+</a>
										<a href="javascript:void(0)" id="mins" class="mins">-</a>
									</div>
									</div>
								
							</li>
							
            				<!--<li class="cart-c1">
            					
            				</li>-->
            				<!--<li class="cart-c2">
            					
            					
            				</li>-->
            				
							<hr class="sidebar-divider"></li>
							{/foreach}	
            				
            				
            				
            			</ul>
					</div>
        	
        	
            	</div>
            	<div class="one-part-cart1">
            		<div class="free">
            			您的订单享受免费配送。
            		</div>
            		<div class="free1">
            			结算:
            		</div>
            		<div class="free2">
							
						<span style="color: darkred;">
							
        				￥{$number}
					</span>
					
					</div>
					<form action="{:url('home/order/create')}" method="post">

						<a href="javascript:;" id="sum-btn" style="text-decoration: none;display: block; text-align: center;line-height: 35px;" class="shop">进入结算中心</a>
					</form>

            		<!-- <input type="button" name="" id="" value="进入结算中心" class="shop"/> -->
            	</div>
            </section>
            
            
            
            <!-- <section class="five">
         	<ul class="five-part">
         		<li>了解我们
         		<div class="five-part-text">
         			<a href="" >人才招聘</a><br>
                    <a href="">关于亚马逊</a><br>
                    <a href="">新闻中心</a>
         		</div>
         		</li>
         		<li>合作信息
         			<div class="five-part-text">
         			<a href="">我要开店</a><br>
                    <a href="">加入联盟</a><br>
                    <a href="">合作伙伴</a>
         		</div>
         			
         		</li>
         		<li>帮助中心和购物指南
         		<div class="five-part-text">
         			<a href="">付款与退款</a><br>
                    <a href="">汇款单招领</a><br>
                    <a href="">发货与配送</a>
                    <a href="">退货与换货</a><br>
                    <a href="">帮助中心</a><br>  
         		</div>
         		</li>
         		
         	</ul>
         </section> -->
	</body>
	<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js"></script>
<script src="/static/home/js/all.js"></script>
	<script>
	//结算
	$(function(){
		//提交表单
		$('#sum-btn').click(function(){
			//参数检测 略
			//提交表单
			$('form').submit();
		});
	})
	</script>
</html>